package com.chinawayltd.ews.sample.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.chinawayltd.ews.sample.model.TBranch;
import com.chinawayltd.ews.sample.model.TBranchExample;
@Mapper
public interface TBranchMapper {
    int countByExample(TBranchExample example);

    int deleteByExample(TBranchExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TBranch record);

    int insertSelective(TBranch record);

    List<TBranch> selectByExample(TBranchExample example);

    TBranch selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TBranch record, @Param("example") TBranchExample example);

    int updateByExample(@Param("record") TBranch record, @Param("example") TBranchExample example);

    int updateByPrimaryKeySelective(TBranch record);

    int updateByPrimaryKey(TBranch record);
}